//
//  UIViewController+DLExtension.h
//  dielianw
//
//  Created by 刘威 on 16/8/8.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (DLExtension)

/**
 *  导航栏默认返回按钮
 */
- (void)createNavigationBackItem;

- (void)createLeftTwoNavigationItem:(UIImage *)image;

- (void)createNavigationBackItem:(UIImage *)image;
/**
 *  自定义导航栏右侧图片按钮
 *
 *  @param image <#image description#>
 */
- (void)createNavigationRightImageItem:(UIImage *)image;
- (void)createNavigationRightTitleItem:(NSString *)title color:(UIColor *)color;
- (void)createNavigationLeftTitleItem:(NSString *)title color:(UIColor *)color;

- (void)setNavBarHairlineImageViewHidden:(BOOL)hidden;
- (void)setNavigationBarColorRed:(CGFloat)r green:(CGFloat)g blue:(CGFloat)b alpha:(CGFloat)alpha;
- (void)setNavBarTitleColor:(UIColor *)color;

- (void)setRightItemTitleColor:(UIColor *)color;


- (void)startLoading;


- (void)stopLoading;

@end
